package com.baishancloud.log.quality.pojo

import java.lang
import scala.beans.BeanProperty

/**
 *
 * @author ziqiang.wang 
 * @date 2021/12/7 15:26
 */
class CalculateDetail extends Serializable {}

/**
 * 写入starRocks表的对象，具体释义查看bili_mobile表注释。
 */
case class StarRocksMobile(
                            @BeanProperty business: String,
                            @BeanProperty time_seconds: Long,
                            @BeanProperty time_at_1min: String,
                            @BeanProperty domain_id: Int,
                            @BeanProperty domain: String,
                            @BeanProperty platform: String,
                            @BeanProperty cache_group_id: Int,
                            @BeanProperty cache_group: String,
                            @BeanProperty network: String,
                            @BeanProperty video_http_code: lang.Short,
                            @BeanProperty isp_id: Int,
                            @BeanProperty isp: String,
                            @BeanProperty country_id: Int,
                            @BeanProperty country: String,
                            @BeanProperty province_id: Int,
                            @BeanProperty province: String,
                            @BeanProperty asset_item_session: String,
                            @BeanProperty asset_item_time_of_session: Integer,
                            @BeanProperty first_video_time: Integer,
                            @BeanProperty time_of_video: Integer,
                            @BeanProperty buffering_count: Integer
                          ) extends Serializable {}

/**
 * 写入starRocks表的对象，具体释义查看bili_web表注释。
 */
case class StarRocksWeb(
                         @BeanProperty business: String,
                         @BeanProperty time_seconds: Long,
                         @BeanProperty time_at_1min: String,
                         @BeanProperty domain_id: Int,
                         @BeanProperty domain: String,
                         @BeanProperty category: lang.Byte,
                         @BeanProperty code: lang.Byte,
                         @BeanProperty isp_id: Int,
                         @BeanProperty isp: String,
                         @BeanProperty country_id: Int,
                         @BeanProperty country: String,
                         @BeanProperty province_id: Int,
                         @BeanProperty province: String,
                         @BeanProperty uvid: String,
                         @BeanProperty value: Integer,
                         @BeanProperty value_window_size: Integer,
                         @BeanProperty value_count: Integer,
                         @BeanProperty value_duration: Integer,
                         @BeanProperty value_play_time: Integer,
                         @BeanProperty value_played_time: Integer,
                         @BeanProperty value_received_bytes: Integer
                       ) extends Serializable {}

